package com.wwd.movie.login.service;

import com.wwd.movie.common.AjaxResult;
import com.wwd.movie.login.domain.dto.LoginDTO;
import com.wwd.movie.login.domain.dto.UpdatePwdDTO;
import com.wwd.movie.login.domain.entity.MovieUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wwd.movie.login.domain.vo.GetUserProfileVO;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author sendpo
 * @description 针对表【movie_user(普通用户表)】的数据库操作Service
 * @createDate 2025-08-29 13:54:08
 */
public interface MovieUserService extends IService<MovieUser> {

    String login(String username, String password, String code, String uuid);

    AjaxResult register(LoginDTO dto);

    AjaxResult updateUserProfile(GetUserProfileVO vo);

    AjaxResult updatePwd(UpdatePwdDTO dto);

    AjaxResult uploadAvatar(MultipartFile file);
}
